package com.jyxd.web.data.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("体温单时刻Dto")
@Data
public class TemperatureMomentDTO {
    @ApiModelProperty("呼吸机模式")
    private String modeValue;
    @ApiModelProperty("时间")
    private Integer moment;
    @ApiModelProperty("体温时间")
    private Double moment2;
    @ApiModelProperty("呼吸")
    private String br;

    @ApiModelProperty("心率")
    private String spo2;

    @ApiModelProperty("脉搏")
    private String pulse;

    @ApiModelProperty("心率")
    private String hr;

    @ApiModelProperty("体温")
    private String temperature;

    @ApiModelProperty("血压(上午)")
    private String amBloodPressure;

    @ApiModelProperty("血压(下午)")
    private String pmBloodPressure;

    @ApiModelProperty("疼痛评分")
    private String acheScore;

    @ApiModelProperty("汉字状态描述")
    private String chineseStatus;

    private String times;
    private String hours;
    private String minutes;

    public TemperatureMomentDTO() {
    }

    public TemperatureMomentDTO(String amBloodPressure, String pmBloodPressure) {
        this.pmBloodPressure = pmBloodPressure;
        this.amBloodPressure = amBloodPressure;
    }

    public TemperatureMomentDTO(int moment, String describe, int i) {
        this.moment = moment;
        if (i == 0) {
            this.temperature = describe;
        }
        if (i == 1) {
            this.acheScore = describe;
        }
        if (i == 2) {
            this.chineseStatus = describe;
        }
    }

    public TemperatureMomentDTO(int moment, String pulse, String hr) {
        this.moment = moment;
        this.pulse = pulse;
        this.hr = hr;
    }

}
